#ifndef ADMINFOODWINDOW_H
#define ADMINFOODWINDOW_H

#include <QWidget>
#include <QListWidget>

#include "Food.h"
#include "FoodTable.h"
#include "AdminFoodItem.h"
#include "ui_AdminFoodItem.h"

namespace Ui {
class AdminFoodWindow;
}

class AdminFoodWindow : public QListWidget
{
    Q_OBJECT

public:
    explicit AdminFoodWindow(QWidget *parent = nullptr);
    ~AdminFoodWindow();

signals:
    void dataChange();

private:
    Ui::AdminFoodWindow *ui;

private slots:
    void replyShowAdminFoodWindow();    //显示管理食物界面
    void replyDataChange2();
    void replyDataChange();
};

#endif // ADMINFOODWINDOW_H
